<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<x:parse xml="${param.xmlstr}" var="xmlData" />
<c:set var="grant_code"><x:out select="$xmlData/data/proposal/grant_code" /></c:set>
<c:set var="sub_grant_code"><x:out select="$xmlData/data/proposal/sub_grant_code" /></c:set>

<div class="t_bar">项目投入资金预算（单位：万元）</div>
<table class="table01 t_css" width="100%" border="0" cellpadding="0"
	cellspacing="1">
	<tr>
	    <td width="200" align="left">1、总投资</td>
		<td colspan="3" align="right">
			<x:out select="$xmlData/data/budget/invest_detail/total" />
		</td>
	</tr>
	<tr>
	    <td rowspan="2"><span class="color_red">*</span>2、申请本资助前已完成的投资额</td>
	    <td align="center" width="200px">自筹资金</td>
	    <td colspan="2" align="right">
			<x:out select="$xmlData/data/budget/invest_detail/finish_seft" />
		</td>
	</tr>
	<tr>
	   <td align="center">国家、省、市拨款</td>
	   <td colspan="2" align="right">
			<x:out select="$xmlData/data/budget/invest_detail/finish_country" />
		</td>
	</tr>
	<tr>
	   <td rowspan="3"><span class="color_red">*</span>3、还需要投入的投资额</td>
	   <td align="center">自筹资金</td>
	   <td colspan="2" align="right">
			<x:out select="$xmlData/data/budget/invest_detail/need_seft" />
	    </td>
	</tr>
	<tr>
	   <td align="center">国家、省、市拨款</td>
	   <td colspan="2" align="right">
			<x:out select="$xmlData/data/budget/invest_detail/need_country" />
	    </td>
	</tr>
	<tr>
	   <td align="center">申请区科技研发资金</td>
	   <td colspan="2" align="right">
			<x:out select="$xmlData/data/budget/invest_detail/need_amt" />
	    </td>
	</tr>
</table>
<br>
<div class="t_bar">项目资金使用计划</div>
<table class="t_css table01" width="100%" border="0" cellpadding="0"
	id="tblfinancialplans" cellspacing="1">
    <thead>
		<tr>
			<th class="TblHead" align="center" width="10%">序号</th>
			<th class="TblHead" align="center" width="20%">使用金额（万元） </th>
			<th class="TblHead" align="center" width="70%">用途 </th>
		</tr>
			</thead>
			<tbody id="tab">
					<c:set value="0" var="index" scope="page"/>
					<x:forEach select="$xmlData/data/financialplans/financialplan" var="financialplan">
					<c:choose>
						<c:when test="${index<10}" >
						<c:set value="0" var="flag" scope="page"/>
						</c:when>
						<c:otherwise>
						<c:set value="" var="flag" scope="page"/>
						</c:otherwise>
					</c:choose>
					<tr>
						<td style="text-align:center;">
							${index+1}
						</td>
						<td style="text-align:center;">&nbsp;
							<x:out select="$financialplan/money" />
						</td>
						<td style="text-align:center;">&nbsp;
							<x:out select="$financialplan/use" />
						</td>
					</tr>
					<c:set value="${index+1}" var="index" scope="page"/>
					</x:forEach>
					
			</tbody>
</table>
<table class="t_css" cellpadding="0" cellspacing="0" width="100%" id='orgInfo2'align="center">
   <tr>
		<td align="right" class="thclass" width="40px">合计：</td>
		<td colspan="1" class="thclass" width="120px">
			<x:out select="$xmlData/data/financialplans/total" /> 
		</td>
		<td colspan="1" class="thclass" width="300px">
			&nbsp;
		</td>
   </tr>						
</table>
			<br>
<br>

